package com.study.web.dao.sysparams;

import java.util.List;
import java.util.Map;

import com.study.common.base.dao.BaseDao;
import com.study.common.exception.BizException;
import com.study.common.page.PageBean;
import com.study.common.page.PageParam;
import com.study.web.entity.SysParams;

/**
 * SysParamsDao.java
 * @author yaojinshan
 * @since 2018年6月14日下午2:44:01
 */
public interface SysParamsDao extends BaseDao<SysParams> {

	/**
	 * 获取列表数据
	 * @param pageParam
	 * @param paramMap
	 * @return
	 * @throws BizException
	 */
	public PageBean getListData(PageParam pageParam,Map<String, Object> paramMap) throws BizException;
	/**
	 * 新增数据
	 * @param sysParams
	 * @return
	 * @throws BizException
	 */
	public Long saveAddPageData(SysParams sysParams) throws BizException;
	
	/**
	 * 修改数据
	 * @param sysParams
	 * @return
	 * @throws BizException
	 */
	public Long saveUpdatePageData(SysParams sysParams) throws BizException;
	
	/**
	 * 批量删除数据
	 * @param entityList
	 * @return
	 * @throws BizException
	 */
	public Long batchDeleteData(List<SysParams> entityList) throws BizException;
	
	/**
	 * 获取所有的系统参数
	 * @return
	 * @throws BizException
	 */
	public List<SysParams> getAllDataList(Map<String, Object> paramMap)throws BizException;

}
